package com.buaa.pm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.buaa.pm.entity.Paper;
import com.buaa.pm.entity.Paragraph;

import java.util.List;

public interface ParagraphService extends IService<Paragraph> {

    List<Paragraph> listParagraphByProject(String projectId);

    List<Paragraph> listParagraphByPaper(String paperId);

    boolean updateParagraphAvailable(String paragraphId, boolean available);

}
